projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1d71eb
)
Use correct path separator on windows
author
Alex Crichton
<alex@alexcrichton.com>
Tue, 24 Jun 2014 13:54:37 +0000
(06:54 -0700)
committer
Alex Crichton
<alex@alexcrichton.com>
Wed, 25 Jun 2014 18:09:39 +0000
(11:09 -0700)
src/cargo/util/process_builder.rs
patch
|
blob
|
history
diff --git
a/src/cargo/util/process_builder.rs
b/src/cargo/util/process_builder.rs
index 1dc3ca4e6feae1dd0b299995ee2a11169fa32f04..e5fec4f1a5724d2a67c60806b63be21a3ebf8b20 100644
(file)
--- a/
src/cargo/util/process_builder.rs
+++ b/
src/cargo/util/process_builder.rs
@@
-28,7
+28,10
@@
impl Show for ProcessBuilder {
}
// TODO: Upstream a Windows/Posix branch to Rust proper
+#[cfg(unix)]
static PATH_SEP : &'static str = ":";
+#[cfg(windows)]
+static PATH_SEP : &'static str = ";";
impl ProcessBuilder {
pub fn arg<T: Str>(mut self, arg: T) -> ProcessBuilder {